Class: Merriam::Utils::Language
- Inherits:
-
Object
- Object
- Merriam::Utils::Language
- Defined in:
- lib/merriam/core/language.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(options) ⇒ Language
constructor
A new instance of Language.
Constructor Details
#initialize(options) ⇒ Language
Returns a new instance of Language.
8 9 10 11 |
# File 'lib/merriam/core/language.rb', line 8 def initialize() @code = ['code'] @name = ['name'] end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
6 7 8 |
# File 'lib/merriam/core/language.rb', line 6 def code @code end |
#name ⇒ Object
Returns the value of attribute name.
6 7 8 |
# File 'lib/merriam/core/language.rb', line 6 def name @name end |