class RuboCop::AST::Node
def last_line
def last_line loc.last_line end
Included Modules
Extended Modules
Instance Methods
- # ancestors
- # argument?
- # argument_type?
- # assignment?
- # basic_conditional?
- # basic_literal?
- # begin_value_used?
- # boolean_type?
- # call_type?
- # case_if_value_used?
- # chained?
- # complete!
- # complete?
- # conditional?
- # const_name
- # defined_module
- # defined_module_name
- # each_ancestor
- # empty_source?
- # equals_asgn?
- # falsey_literal?
- # first_line
- # for_value_used?
- # guard_clause?
- # immutable_literal?
- # initialize
- # keyword?
- # last_line
- # left_sibling
- # left_siblings
- # line_count
- # literal?
- # loop_keyword?
- # multiline?
- # mutable_literal?
- # node_parts
- # nonempty_line_count
- # numeric_type?
- # operator_keyword?
- # parent
- # parent=
- # parent?
- # parent_module_name
- # parent_module_name_for_block
- # parent_module_name_for_sclass
- # parent_module_name_part
- # parenthesized_call?
- # post_condition_loop?
- # pure?
- # range_type?
- # reference?
- # right_sibling
- # right_siblings
- # root?
- # shorthand_asgn?
- # sibling_index
- # single_line?
- # source
- # source_length
- # source_range
- # special_keyword?
- # truthy_literal?
- # updated
- # value_used?
- # variable?
- # visit_ancestors
- # while_until_value_used?