class Rubocop::DefinitionValidator::Line
Attributes
content[R]
Public Instance Methods
body()
click to toggle source
trim ‘+` or `-` prefix
# File lib/rubocop/definition_validator/line.rb, line 5 def body content[1..-1] end
type()
click to toggle source
@return [String] + or -
# File lib/rubocop/definition_validator/line.rb, line 10 def type content[0] end