Class: String19::Encoding

Inherits:
Object
  • Object
show all
Defined in:
lib/string19/encoding.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Encoding

Returns a new instance of Encoding.



4
5
6
# File 'lib/string19/encoding.rb', line 4

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



3
4
5
# File 'lib/string19/encoding.rb', line 3

def name
  @name
end