class RuboCop::AST::RangeNode

A node extension for `irange` and `erange` nodes. This will be used in place of a plain node when the builder constructs the AST, making its methods available to all `irange` and `erange` nodes within RuboCop.

Public Instance Methods

begin() click to toggle source
# File lib/rubocop/ast/node/range_node.rb, line 9
def begin
  node_parts[0]
end
end() click to toggle source
# File lib/rubocop/ast/node/range_node.rb, line 13
def end
  node_parts[1]
end