--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the object that defines the end of <em>rng</em>. - !ruby/struct:SM::Flow::VERB body: " (1..10).end #=> 10\n (1...10).end #=> 10\n" full_name: Range#last is_singleton: false name: last params: | rng.end => obj rng.last => obj visibility: public