Sha256: 1ecaeebf18abb11846a0a5a8e3ea1b6db8109ea48763d2db4e03b8444c114392

Contents?: true

Size: 372 Bytes

Versions: 54

Compression:

Stored size: 372 Bytes

Contents

class Marty::Helper
  include Delorean::Model

  delorean_fn :sleep, sig: 1 do
    |seconds|
    Kernel.sleep seconds
  end

  delorean_fn :range_step, sig: 3 do
    |rstart, rend, step|
    (rstart..rend).step(step).to_a
  end

  delorean_fn :my_ip, sig:0 do
    Marty::Diagnostic::Node.my_ip
  end

  delorean_fn :git, sig:0 do
    [my_ip, ENV['DELAYED_VER']]
  end
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
marty-2.5.2 app/models/marty/helper.rb
marty-2.5.1 app/models/marty/helper.rb
marty-2.5.0 app/models/marty/helper.rb
marty-2.4.9 app/models/marty/helper.rb
marty-2.4.8 app/models/marty/helper.rb
marty-2.4.7 app/models/marty/helper.rb
marty-2.4.6 app/models/marty/helper.rb
marty-2.4.5 app/models/marty/helper.rb
marty-2.4.4 app/models/marty/helper.rb
marty-2.4.3 app/models/marty/helper.rb
marty-2.4.2 app/models/marty/helper.rb
marty-2.4.1 app/models/marty/helper.rb
marty-2.4.0 app/models/marty/helper.rb
marty-2.3.15 app/models/marty/helper.rb
marty-2.3.14 app/models/marty/helper.rb
marty-2.3.13 app/models/marty/helper.rb
marty-2.3.12 app/models/marty/helper.rb
marty-2.3.11 app/models/marty/helper.rb
marty-2.3.10 app/models/marty/helper.rb
marty-2.3.9 app/models/marty/helper.rb