module Hashme::ClassMethods
Public Instance Methods
build(*attrs) { |instance| ... }
click to toggle source
Little help. Equivalent to new.tap
# File lib/hashme.rb, line 40 def build(*attrs) instance = self.new(*attrs) yield instance if block_given? instance end