Class: Spoom::RBS::Annotation

Inherits:
Comment
  • Object
show all
Defined in:
lib/spoom/rbs.rb

Instance Attribute Summary

Attributes inherited from Comment

#location, #string

Instance Method Summary collapse

Methods inherited from Comment

#initialize

Constructor Details

This class inherits a constructor from Spoom::RBS::Comment

Instance Method Details

#abstract?Boolean

: () -> bool

Returns:

  • (Boolean)


73
74
75
# File 'lib/spoom/rbs.rb', line 73

def abstract?
  @string == "@abstract"
end