Class: Inch::CLI::Command::Output::Inspect::CommentAndAbbrevSource

Inherits:
Struct
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/inch/cli/command/output/inspect.rb

Instance Method Summary collapse

Instance Method Details

#linesObject


129
130
131
# File 'lib/inch/cli/command/output/inspect.rb', line 129

def lines
  to_s.lines
end

#to_sObject


133
134
135
# File 'lib/inch/cli/command/output/inspect.rb', line 133

def to_s
  comments.join('') + abbrev_source
end