Sha256: 28414c3bc9b15720333d22a0f3986d62d5bb78d0a6751711aa7474c4cc417480

Contents?: true

Size: 236 Bytes

Versions: 10

Compression:

Stored size: 236 Bytes

Contents

require "virtus"

module CCEngine
  module Position
    class Offset
      include Virtus.model(strict: true)

      attribute :offset, Integer

      def to_hash
        {
          offset: offset
        }
      end
    end
  end
end

Version data entries

10 entries across 8 versions & 2 rubygems

Version Path
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/codeclimate-engine-rb-0.4.1/lib/cc_engine/position/offset.rb
config_gems_initialization_aim-0.1.4 vendor/bundle/ruby/2.5.0/gems/codeclimate-engine-rb-0.4.1/lib/cc_engine/position/offset.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/codeclimate-engine-rb-0.4.1/lib/cc_engine/position/offset.rb
config_gems_initialization_aim-0.1.3 vendor/bundle/ruby/2.5.0/gems/config_gems_initialization_aim-0.1.1/vendor/bundle/ruby/2.5.0/gems/codeclimate-engine-rb-0.4.1/lib/cc_engine/position/offset.rb
codeclimate-engine-rb-0.4.1 lib/cc_engine/position/offset.rb
codeclimate-engine-rb-0.4.0 lib/cc_engine/position/offset.rb
codeclimate-engine-rb-0.3.1 lib/cc_engine/position/offset.rb
codeclimate-engine-rb-0.3.0 lib/cc_engine/position/offset.rb
codeclimate-engine-rb-0.2.0 lib/cc_engine/position/offset.rb
codeclimate-engine-rb-0.1.0 lib/cc_engine/position/offset.rb