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



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

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

.native_typeObject



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

def self.native_type
  ::BasicObject
end