Sha256: a1c62a8a32b3df1137a6b3bca7d7454c367acc04c8210d756d18cafb9efbbb62
Contents?: true
Size: 291 Bytes
Versions: 34
Compression:
Stored size: 291 Bytes
Contents
class HasMacroFoo include Synchronisable::DSL::Macro attribute :bar, default: 1 attribute :foo attribute :baz, default: -> { bar + 1 } attribute :carefull, default: -> { raise NotImplementedError } attribute :xyz, converter: ->(x) { x.to_s } attribute :arr method :sqr end
Version data entries
34 entries across 34 versions & 1 rubygems