Class: TRMNLP::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/trmnlp/config.rb,
lib/trmnlp/config/app.rb,
lib/trmnlp/config/plugin.rb,
lib/trmnlp/config/project.rb

Defined Under Namespace

Classes: App, Plugin, Project

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ Config

Returns a new instance of Config.



11
12
13
14
15
# File 'lib/trmnlp/config.rb', line 11

def initialize(path)
  @app = App.new(path)
  @project = Project.new(path)
  @plugin = Plugin.new(path, @project)
end

Instance Attribute Details

#appObject (readonly)

Returns the value of attribute app.



9
10
11
# File 'lib/trmnlp/config.rb', line 9

def app
  @app
end

#pluginObject (readonly)

Returns the value of attribute plugin.



9
10
11
# File 'lib/trmnlp/config.rb', line 9

def plugin
  @plugin
end

#projectObject (readonly)

Returns the value of attribute project.



9
10
11
# File 'lib/trmnlp/config.rb', line 9

def project
  @project
end