Class: Parlour::DetachedRbiGenerator

Inherits:
RbiGenerator show all
Defined in:
lib/parlour/detached_rbi_generator.rb

Instance Method Summary collapse

Methods inherited from RbiGenerator

#initialize

Constructor Details

This class inherits a constructor from Parlour::RbiGenerator

Instance Method Details

#current_pluginObject



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

def current_plugin
  nil
end

#detached!Object



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

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

#optionsObject



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

def options
  detached!
end

#rbi(strictness = 'strong') ⇒ Object



26
27
28
# File 'lib/parlour/detached_rbi_generator.rb', line 26

def rbi(strictness = 'strong')
  detached!
end

#rootObject



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

def root
  detached!
end