Sha256: 6a1a122db0bee7194c8fd34364cc1edb7abc662ea1a409beaafef2b95637818a
Contents?: true
Size: 621 Bytes
Versions: 2
Compression:
Stored size: 621 Bytes
Contents
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Initialize Duration class. - !ruby/struct:SM::Flow::P body: <b>Example</b> - !ruby/struct:SM::Flow::VERB body: " d = Duration.new(60 * 60 * 24 * 10 + 120 + 30)\n => #<Duration: 1 week, 3 days, 2 minutes and 30 seconds>\n d = Duration.new(:weeks => 1, :days => 3, :minutes => 2, :seconds => 30)\n => #<Duration: 1 week, 3 days, 2 minutes and 30 seconds>\n" full_name: Duration::new is_singleton: true name: new params: (seconds_or_attr = 0) visibility: public
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facets-2.4.3 | doc/ri/Duration/new-c.yaml |
facets-2.4.2 | doc/ri/Duration/new-c.yaml |