Module: EntityStore::Controls::EntityStore::NoCategory

Defined in:
lib/entity_store/controls/entity_store.rb

Defined Under Namespace

Classes: Example

Class Method Summary collapse

Class Method Details

.example(category = nil) ⇒ Object



79
80
81
82
83
# File 'lib/entity_store/controls/entity_store.rb', line 79

def self.example(category=nil)
  category ||= Category.example

  Example.build(category: category)
end