Class: KStarter::Starters::Rails

Inherits:
Object
  • Object
show all
Defined in:
lib/k_starter/starters/rails.rb

Overview

Generate command line for a new ruby gem project.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Rails

Returns a new instance of Rails.



9
10
11
# File 'lib/k_starter/starters/rails.rb', line 9

def initialize(data)
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



7
8
9
# File 'lib/k_starter/starters/rails.rb', line 7

def data
  @data
end

Instance Method Details

#executeObject



13
14
15
# File 'lib/k_starter/starters/rails.rb', line 13

def execute
  # script
end