Class: Object

Inherits:
BasicObject
Defined in:
lib/lab42/core/fn.rb,
lib/lab42/core/object.rb

Instance Method Summary collapse

Instance Method Details

#fmObject



15
16
17
18
19
20
# File 'lib/lab42/core/fn.rb', line 15

def fm
  @__lab42_core_fm__ ||= Lab42::Core::Fm.new self
# But caching in frozen objects is not an option
rescue
  Lab42::Core::Fn.new self
end

#fnObject



7
8
9
10
11
12
13
# File 'lib/lab42/core/fn.rb', line 7

def fn
  # There can only be one (per instance)
  @__lab42_core_fn__ ||= Lab42::Core::Fn.new self
# But caching in frozen objects is not an option
rescue
  Lab42::Core::Fn.new self
end

#selfObject



2
# File 'lib/lab42/core/object.rb', line 2

def self; self end