class TokyoMetro::Factory::Decorate::AppSubDecorator

Attributes

decorator[R]

Public Class Methods

new( decorator ) click to toggle source
# File lib/tokyo_metro/factory/decorate/app_sub_decorator.rb, line 3
def initialize( decorator )
  @decorator = decorator
end

Public Instance Methods

method_missing( method_name , *args ) click to toggle source
# File lib/tokyo_metro/factory/decorate/app_sub_decorator.rb, line 13
def method_missing( method_name , *args )
  @decorator.send( method_name , *args )
end
object() click to toggle source
# File lib/tokyo_metro/factory/decorate/app_sub_decorator.rb, line 9
def object
  @decorator.object
end

Private Instance Methods

h() click to toggle source
# File lib/tokyo_metro/factory/decorate/app_sub_decorator.rb, line 19
def h
  ::ActionView::Base.new
end