Class: Mida::Vocabulary::Custom
- Inherits:
-
Mida::Vocabulary
- Object
- Mida::Vocabulary
- Mida::Vocabulary::Custom
- Defined in:
- lib/green_monkey/ext/mida.rb
Instance Attribute Summary collapse
-
#itemtype ⇒ Object
readonly
Returns the value of attribute itemtype.
Instance Method Summary collapse
-
#initialize(itemtype) ⇒ Custom
constructor
A new instance of Custom.
Constructor Details
#initialize(itemtype) ⇒ Custom
Returns a new instance of Custom.
5 6 7 |
# File 'lib/green_monkey/ext/mida.rb', line 5 def initialize(itemtype) @itemtype = %r{#{itemtype}} end |
Instance Attribute Details
#itemtype ⇒ Object (readonly)
Returns the value of attribute itemtype.
4 5 6 |
# File 'lib/green_monkey/ext/mida.rb', line 4 def itemtype @itemtype end |