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.



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

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.



7
8
9
# File 'lib/trmnlp/config.rb', line 7

def app
  @app
end

#pluginObject (readonly)

Returns the value of attribute plugin.



7
8
9
# File 'lib/trmnlp/config.rb', line 7

def plugin
  @plugin
end

#projectObject (readonly)

Returns the value of attribute project.



7
8
9
# File 'lib/trmnlp/config.rb', line 7

def project
  @project
end