module SchemaReader
Constants
- VERSION
Public Class Methods
included(base)
click to toggle source
# File lib/schema_reader.rb, line 4 def self.included(base) base.extend(ClassMethods) end
Public Instance Methods
update(options = {})
click to toggle source
def initialize(options = {})
update(options)
end
# File lib/schema_reader.rb, line 12 def update(options = {}) options.each do |attribute, value| send("#{attribute}=", value) end end
Also aliased as: update_attributes