Class: Attributor::Object

Inherits:
Object
  • Object
show all
Includes:
Type
Defined in:
lib/attributor/types/object.rb

Class Method Summary collapse

Methods included from Type

included

Class Method Details

.example(context = nil, options: {}) ⇒ Object


14
15
16
# File 'lib/attributor/types/object.rb', line 14

def self.example(context=nil, options:{})
  'An Object'
end

.native_typeObject


10
11
12
# File 'lib/attributor/types/object.rb', line 10

def self.native_type
  return ::BasicObject
end