Method: Jsus::Tag#name

Defined in:
lib/jsus/tag.rb

#nameString

Returns the last part of the tag.

Examples:

Tag.new('Core/Class').name # => 'Class'

Returns:

  • (String)

    last part of the tag



76
77
78
# File 'lib/jsus/tag.rb', line 76

def name
  @name
end