Class: Parlour::DetachedRbsGenerator

Inherits:
RbsGenerator show all
Defined in:
lib/parlour/detached_rbs_generator.rb

Instance Attribute Summary

Attributes inherited from RbsGenerator

#root

Instance Method Summary collapse

Methods inherited from RbsGenerator

#initialize

Methods inherited from Generator

#initialize

Constructor Details

This class inherits a constructor from Parlour::RbsGenerator

Instance Method Details

#current_pluginObject



16
17
18
# File 'lib/parlour/detached_rbs_generator.rb', line 16

def current_plugin
  nil
end

#detached!Object



6
7
8
# File 'lib/parlour/detached_rbs_generator.rb', line 6

def detached!
  raise "cannot call methods on a detached RBS generator"
end

#optionsObject



11
12
13
# File 'lib/parlour/detached_rbs_generator.rb', line 11

def options
  detached!
end

#rbsObject



21
22
23
# File 'lib/parlour/detached_rbs_generator.rb', line 21

def rbs
  detached!
end