Class: RuboCop::Erb::RubyClip

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubocop/erb/ruby_clip.rb

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



5
6
7
# File 'lib/rubocop/erb/ruby_clip.rb', line 5

def code
  @code
end

#offsetObject

Returns the value of attribute offset

Returns:

  • (Object)

    the current value of offset



5
6
7
# File 'lib/rubocop/erb/ruby_clip.rb', line 5

def offset
  @offset
end