Top Level Namespace

Defined Under Namespace

Modules: Jekyll Classes: DiagramExtractor, DrawIOConverter

Constant Summary collapse

MODULE_TAG_NAME =
"drawio"

Instance Method Summary collapse

Instance Method Details

#split_parameters_line(parameters_line) ⇒ Object



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'lib/jekyll-drawio.rb', line 9

def split_parameters_line(parameters_line)
  params = []
  tmp = ""

  parameters_line.each_char do |symbol|
    if symbol == " "
      params.push tmp
      tmp = ""
    else
      tmp += symbol
    end
  end

  params.push tmp
  params
end