Sha256: 1c76d98446671b30501fbe7a730b7395691143a1b575de4d4321bee451fedeab

Contents?: true

Size: 319 Bytes

Versions: 7

Compression:

Stored size: 319 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
require 'rubygems'
$:.unshift File.expand_path '../lib', File.dirname(__FILE__)
require 'babascript'

BabaScript.baba do
  if Time.now.hour < 12
    puts そろそろ起きたほうがいいのでは?
  else
    puts アイス買ってきてよ("#{rand(10)}本")
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
babascript-0.2.6 samples/sample.rb
babascript-0.2.5 samples/sample.rb
babascript-0.2.4 samples/sample.rb
babascript-0.2.3 samples/sample.rb
babascript-0.2.2 samples/sample.rb
babascript-0.2.1 samples/sample.rb
babascript-0.2.0 samples/sample.rb