Measure 単位付き数値ライブラリ

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    2 Favorites & 2 Groups

    Measure 単位付き数値ライブラリ - Presentation Transcript

    1. Measure
    2. mrkn-macbook:~ root# gem install -r measure Bulk updating Gem source index for: http://gems.rubyforge.org Successfully installed measure-0.1.0 1 gem installed Installing ri documentation for measure-0.1.0... Installing RDoc documentation for measure-0.1.0... mrkn-macbook:~ root#
    3. mrkn-macbook:~ root# irb irb(main):001:0> require 'measure' irb(main):002:0> Measure.define_unit :m, :length irb(main):003:0> Measure.define_unit :cm, :length irb(main):004:0> Measure(1, :m) => # irb(main):005:0> Measure(1, :cm).to_s => \"1 [cm]\"

    + Kenta MurataKenta Murata, 2 years ago

    custom

    873 views, 2 favs, 2 embeds more stats

    単位付き数値ライブラリ Measure の紹介 more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 873
      • 850 on SlideShare
      • 23 from embeds
    • Comments 0
    • Favorites 2
    • Downloads 3
    Most viewed embeds
    • 15 views on http://ruby-sapporo.org
    • 8 views on http://d.hatena.ne.jp

    more

    All embeds
    • 15 views on http://ruby-sapporo.org
    • 8 views on http://d.hatena.ne.jp

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Groups / Events