Sha256: 21f7c696d59458e686d5f9133ae9bc674564ad97628de7ef71ef724122785841

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

require 'machine/association_helper'
require 'machine/machine'
require 'machine/machine_group'
require 'machine/sequence'

# Shorthand method for building a machine, is an alias for Machine.build(name, attributes)
def Machine(name, attributes={}, &block)
  Machine.build(name, attributes, &block)
end

# And the same drill for building a machine and saving the result.
def Machine!(name, attributes={}, &block)
  Machine.build!(name, attributes, &block)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aub-machine-1.0.3 lib/machine.rb