Sha256: 33de720a7cfc4b9e5686574e1b25a9402933f6325b448537b5e5d192e2ebc4b4
Contents?: true
Size: 332 Bytes
Versions: 2
Compression:
Stored size: 332 Bytes
Contents
module Todoloo class Task < Struct.new(:type, :topics, :description, :path, :line, :column) def self.from_hash(hash) new( hash.fetch(:type), hash.fetch(:topics), hash.fetch(:description), hash.fetch(:path), hash.fetch(:line), hash.fetch(:column) ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
todoloo-0.0.2 | lib/todoloo/task.rb |
todoloo-0.0.1 | lib/todoloo/task.rb |