class Microframe::ViewObject
Public Class Methods
new(obj)
click to toggle source
# File lib/microframe/controller/view_object.rb, line 4 def initialize(obj) @main_obj = obj end
Public Instance Methods
render_partial(option)
click to toggle source
# File lib/microframe/controller/view_object.rb, line 8 def render_partial(option) @main_obj.render_partial(option) end