Class: Object

Inherits:
BasicObject
Defined in:
lib/core_ext/object.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.h2o_expose(*attrs) ⇒ Object



2
3
4
# File 'lib/core_ext/object.rb', line 2

def self.h2o_expose(*attrs)
  @h2o_safe = attrs
end

.h2o_safe_methodsObject



6
7
8
# File 'lib/core_ext/object.rb', line 6

def self.h2o_safe_methods
  @h2o_safe
end

Instance Method Details

#to_h2oObject



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

def to_h2o
  self
end