Module: Rea::MetaType::Group::ClassMethods

Defined in:
lib/rea/meta_type/group.rb

Instance Method Summary collapse

Instance Method Details

#entity_typesObject



12
13
14
# File 'lib/rea/meta_type/group.rb', line 12

def entity_types
  @@entity_types ||= []
end

#grouped(*names) ⇒ Object



16
17
18
19
20
21
# File 'lib/rea/meta_type/group.rb', line 16

def grouped *names
  $options = names.extract_options!
  names.each do |name|
    entity_types << name
  end
end