class Roger::Rogerfile::Context
This is the context for the rogerfile evaluation. It should be empty except for the roger
method (and deprecated mockup
method).
Public Class Methods
new(rogerfile)
click to toggle source
# File lib/roger/rogerfile.rb, line 7 def initialize(rogerfile) @_rogerfile = rogerfile end
Public Instance Methods
binding()
click to toggle source
# File lib/roger/rogerfile.rb, line 22 def binding ::Kernel.binding end
mockup()
click to toggle source
@deprecated Please use roger method instead.
# File lib/roger/rogerfile.rb, line 16 def mockup warn("The use of mockup has been deprecated; please use roger instead") warn(" on #{caller(0..0).first}") roger end
roger()
click to toggle source
# File lib/roger/rogerfile.rb, line 11 def roger @_rogerfile end