module StrictStruct
Constants
- VERSION
Public Class Methods
new(*attributes, &block)
click to toggle source
# File lib/strict_struct.rb, line 57 def self.new(*attributes, &block) Class.new do include AttributeModule.new(*attributes) class_eval(&block) if block_given? end end