Sha256: b8ba036793761aceee0e40ad46a8011b9c44741fe71e52d0c86459991affad93

Contents?: true

Size: 308 Bytes

Versions: 3

Compression:

Stored size: 308 Bytes

Contents

require 'machine'

Machine.definition_file_paths = [
  File.join(RAILS_ROOT, 'machines'),
  File.join(RAILS_ROOT, 'test', 'machines'),
  File.join(RAILS_ROOT, 'spec', 'machines')
]

# Find the definitions in the default locations:
# machines.rb
# test/machines.rb
# spec/machines.rb
Machine.find_definitions

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aub-machine-1.0.1 rails/init.rb
aub-machine-1.0.2 rails/init.rb
aub-machine-1.0.3 rails/init.rb