Class: RbsMacros::Macro
- Inherits:
-
Object
- Object
- RbsMacros::Macro
- Defined in:
- lib/rbs_macros/macro.rb
Overview
Base class for macro implementations. Macros react to method invocations in Ruby code (usually in module/class bodies) and generate RBS declarations for them.
Direct Known Subclasses
RbsMacros::Macros::ForwardableMacros, RbsMacros::Macros::SingleForwardableMacros
Instance Method Summary collapse
-
#setup(env) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument.
Instance Method Details
#setup(env) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument
8 9 10 |
# File 'lib/rbs_macros/macro.rb', line 8 def setup(env) # rubocop:disable Lint/UnusedMethodArgument raise NoMethodError, "Not implemented: #{self.class}#setup" end |