class Abt::Ari

Attributes

flags[R]
path[R]
scheme[R]

Public Class Methods

new(scheme: nil, path: nil, flags: []) click to toggle source
# File lib/abt/ari.rb, line 7
def initialize(scheme: nil, path: nil, flags: [])
  @scheme = scheme
  @path = path
  @flags = flags
end

Public Instance Methods

to_s() click to toggle source
# File lib/abt/ari.rb, line 13
def to_s
  str = scheme
  str += ":#{path}" if path

  [str, *flags].join(" ")
end