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



131
132
133
# File 'lib/inch/cli/command/output/inspect.rb', line 131

def lines
  to_s.lines
end

#to_sObject



135
136
137
# File 'lib/inch/cli/command/output/inspect.rb', line 135

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