Class: Schema2plantuml

Inherits:
Object
  • Object
show all
Defined in:
lib/schema2plantuml.rb,
lib/schema2plantuml/version.rb

Constant Summary collapse

VERSION =
"0.1.2"

Instance Method Summary collapse

Constructor Details

#initialize(schema_file_path = 'schema.rb') ⇒ Schema2plantuml

Returns a new instance of Schema2plantuml.



5
6
7
# File 'lib/schema2plantuml.rb', line 5

def initialize(schema_file_path = 'schema.rb')
  @schema_file_path = schema_file_path
end

Instance Method Details

#runObject



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

def run
  load @schema_file_path
end