class PostDelegate

Public Class Methods

human_attribute_name(attribute) click to toggle source
# File actionview/test/lib/controller/fake_models.rb, line 70
def self.human_attribute_name(attribute)
  "Delegate #{super}"
end

Public Instance Methods

model_name() click to toggle source
# File actionview/test/lib/controller/fake_models.rb, line 74
def model_name
  ActiveModel::Name.new(self.class)
end