Sha256: 7065c257533e340a02cf2efcca9cd7e04e6863ddcdadbc2fe009b10fa678c9d9
Contents?: true
Size: 410 Bytes
Versions: 10
Compression:
Stored size: 410 Bytes
Contents
require "virtus" module CCEngine module Location class Position include Virtus.model(strict: true) attribute :path, String attribute :start_position attribute :end_position def to_hash { path: path, positions: { begin: start_position.to_hash, end: end_position.to_hash } } end end end end
Version data entries
10 entries across 8 versions & 2 rubygems