Sha256: 6e8a4cd29d9ba054a690309e35c4aba50f3f1a9e35f7f544858b9a18b832d047

Contents?: true

Size: 808 Bytes

Versions: 1

Compression:

Stored size: 808 Bytes

Contents

$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'volute'

class Invoice
  include Volute

  attr_accessor :paid
  attr_accessor :customer_name
  attr_accessor :customer_id
  o_attr_accessor :comment
end

class Item
  include Volute

  attr_accessor :weight
  attr_accessor :delivered
  o_attr_accessor :comment
end

class HeavyItem < Item
end

class Package
  include Volute

  attr_accessor :location
  attr_accessor :delivered
  o_attr_accessor :comment
end

class Delivery
  include Volute

  attr_accessor :scheduled
  attr_accessor :performed
  o_attr_accessor :comment
end

module Financing
  class Loan
    include Volute
    attr_accessor :price
    o_attr_accessor :comment
  end
  class Grant
    include Volute
    attr_accessor :price
    o_attr_accessor :comment
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
volute-0.1.1 spec/spec_helper.rb