Sha256: e76a2c678f3975f9938ddb48ace6c56424d349d3a98363b98ed2a16f7dcad75e

Contents?: true

Size: 147 Bytes

Versions: 2

Compression:

Stored size: 147 Bytes

Contents

class Motorcycle < Vehicle
  state_machine initial: :idling do
    state :first_gear do
      def decibels
        1.0
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
state_machines-0.0.2 spec/internal/app/models/motorcycle.rb
state_machines-0.0.1 spec/internal/app/models/motorcycle.rb