Class: LazyRails::PromptGenerators::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/lazy_rails/prompt_generators.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(prompt) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/lazy_rails/prompt_generators.rb', line 6

def initialize(prompt)
  @prompt = prompt
end

Instance Attribute Details

#promptObject (readonly)

Returns the value of attribute prompt.



4
5
6
# File 'lib/lazy_rails/prompt_generators.rb', line 4

def prompt
  @prompt
end