Module: Rubyzen::Providers::FilePathProvider
- Included in:
- Declarations::AttributeDeclaration, Declarations::BlockDeclaration, Declarations::CallSiteDeclaration, Declarations::ClassDeclaration, Declarations::ConstantDeclaration, Declarations::FileDeclaration, Declarations::IfStatementDeclaration, Declarations::MacroDeclaration, Declarations::MethodDeclaration, Declarations::ModuleDeclaration, Declarations::ParameterDeclaration, Declarations::RaiseDeclaration, Declarations::RequireDeclaration, Declarations::RescueDeclaration
- Defined in:
- lib/rubyzen/providers/file_path_provider.rb
Overview
Provides access to the file path of a declaration by traversing parent declarations.
Instance Method Summary collapse
-
#file_path ⇒ String?
The file path containing this declaration.
Instance Method Details
#file_path ⇒ String?
Returns the file path containing this declaration.
6 7 8 |
# File 'lib/rubyzen/providers/file_path_provider.rb', line 6 def file_path file_path_recursive(self) end |