In Files

Parent

Class/Module Index [+]

Quicksearch

Shout

Attributes

charset[W]

Public Class Methods

new(opts={}) click to toggle source
# File lib/shout.rb, line 12
def initialize(opts={})
  ext_initialize

  (STRING_ACCESSORS + INT_ACCESSORS + [:charset]).each do |a|
    self.__send__ :"#{a}=", opts[a] if opts[a]
  end
end
Also aliased as: ext_initialize

Public Instance Methods

charset() click to toggle source
# File lib/shout.rb, line 38
def charset
  @charset || ((format && format==Shout::MP3) ? 'ISO-8859-1' : 'UTF-8')
end
ext_initialize(opts={}) click to toggle source
Alias for: new

[Validate]

Generated with the Darkfish Rdoc Generator 2.