class RKit::Frame::InstanceDsl
Public Instance Methods
frame()
click to toggle source
# File lib/r_kit/frame/instance_dsl.rb, line 10 def frame @sy_frame || RKit::Frame::EmptyFrame.instance end
frame=(value)
click to toggle source
# File lib/r_kit/frame/instance_dsl.rb, line 14 def frame= value @sy_frame = value end
framed(&block)
click to toggle source
# File lib/r_kit/frame/instance_dsl.rb, line 19 def framed &block shadow sy_frame: block.binding.eval('self') do |obj| block.call obj end end
framed?()
click to toggle source
# File lib/r_kit/frame/instance_dsl.rb, line 25 def framed? !!frame end