Sha256: 5ce51dc9964e77de78cec85ba0246b59da2f30b0dcb578469a3c90ad899d5af2
Contents?: true
Size: 342 Bytes
Versions: 1
Compression:
Stored size: 342 Bytes
Contents
require "peto/mixin/peto_class" module Peto class Animal include PetoClass def initialize(args={}) @nme = nil set_by_hash(args) raise_errors unless valid? end attr_reader :nme def members [:nme] end def types {:nme => String} end def arrays {} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
peto-0.2.3 | examples/rails_app/contracts/generated/animal.rb |