class Responding
Constants
- VERSION
Public Class Methods
new(*attributes)
click to toggle source
# File lib/responding.rb, line 4 def self.new(*attributes) raise ArgumentError.new('At least one attribute required') if attributes.empty? ::Class.new(Class) do attributes.each do |attribute| define_attribute attribute end end end