Class: Mida::Vocabulary::Custom

Inherits:
Mida::Vocabulary
  • Object
show all
Defined in:
lib/green_monkey/ext/mida.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#itemtypeObject (readonly)

Returns the value of attribute itemtype.



4
5
6
# File 'lib/green_monkey/ext/mida.rb', line 4

def itemtype
  @itemtype
end