Sha256: fbf618c6fc3ae2be956b20cd5d7bb58b70c5bdd14647e7d55925affcc0763acb
Contents?: true
Size: 429 Bytes
Versions: 15
Compression:
Stored size: 429 Bytes
Contents
#!/usr/bin/env ruby $: << File.expand_path('lib') <%= run sq(<<-'rb') require 'cl' class Cmd < Cl::Cmd arg :one, type: :integer arg :two, type: :float arg :three, type: :boolean def run p [one.class, two.class, three.class] end end rb -%> <%= run "Cl.new('owners').run(%w(cmd 1 2.1 yes))" %> <%= out "[#{RUBY_VERSION < '2.4' ? 'Fixnum' : 'Integer'}, Float, TrueClass]" %>
Version data entries
15 entries across 15 versions & 1 rubygems