class Backline::Model::Attributes::Attribute

Public Class Methods

new(name, options = {}) click to toggle source
Calls superclass method
# File lib/backline/model/attributes/attribute.rb, line 6
def initialize(name, options = {})
  super(name.to_s, options)
end

Public Instance Methods

getter_method() click to toggle source
# File lib/backline/model/attributes/attribute.rb, line 10
def getter_method
  name
end
setter_method() click to toggle source
# File lib/backline/model/attributes/attribute.rb, line 14
def setter_method
  "#{name}="
end