Class: Icss::Meta::IdenticalFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/icss/type/type_factory.rb

Overview

Receives any object just as given.

Examples:

# receive_foo accepts the item just as given
field :foo, Icss::Meta::IdenticalFactory

Class Method Summary collapse

Class Method Details

.receive(obj) ⇒ Object



11
12
13
# File 'lib/icss/type/type_factory.rb', line 11

def self.receive(obj)
  obj
end