class Diakonos::CTag
Attributes
command[R]
file[R]
kind[R]
rest[R]
Public Class Methods
new( file, command, kind, rest )
click to toggle source
# File lib/diakonos/ctag.rb, line 6 def initialize( file, command, kind, rest ) @file = file @command = command @kind = kind @rest = rest end
Public Instance Methods
==( other )
click to toggle source
# File lib/diakonos/ctag.rb, line 17 def == ( other ) ( other && @file == other.file && @command == other.command && @kind == other.kind && @rest == other.rest ) end
to_s()
click to toggle source
# File lib/diakonos/ctag.rb, line 13 def to_s "#{@file}:#{@command} (#{@kind}) #{@rest}" end