Module: Xampl::XamplObject::XamplRubyDefinition

Defined in:
lib/xamplr/xampl-object.rb

Constant Summary collapse

@@proc =
nil

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.build(target = nil) ⇒ Object



172
173
174
175
176
177
178
179
180
181
182
183
184
# File 'lib/xamplr/xampl-object.rb', line 172

def XamplRubyDefinition.build(target = nil)
  xampl = nil
  if @@proc then
    local_proc = @@proc
    @@proc = nil
    xampl = local_proc.call(target)
    @@proc = nil
  else
    xampl = XamplRubyDefinition.build_it(target)
  end

  return xampl
end

Instance Method Details

#build_itObject



186
187
188
# File 'lib/xamplr/xampl-object.rb', line 186

def build_it
  nil
end