class Locomotive::Steam::Services::Defer

Public Class Methods

new(&block) click to toggle source
Calls superclass method
# File lib/locomotive/steam/services.rb, line 27
def initialize(&block)
  @constructor = block
  super(nil)
end

Public Instance Methods

__getobj__() click to toggle source
Calls superclass method
# File lib/locomotive/steam/services.rb, line 31
def __getobj__
  super || __setobj__(@constructor.call)
end
nil?() click to toggle source
# File lib/locomotive/steam/services.rb, line 34
def nil?
  __getobj__.nil?
end