From f778b2f9204bd17f708d14d0a902fd4b0e4896e7 Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Wed, 16 Jul 2014 12:02:30 -0400 Subject: [PATCH] Moving samples out of bin --- lib/squib/api/data.rb | 7 +++++++ bin/squib-eg => samples/basic.rb | 0 2 files changed, 7 insertions(+) rename bin/squib-eg => samples/basic.rb (100%) mode change 100755 => 100644 diff --git a/lib/squib/api/data.rb b/lib/squib/api/data.rb index 8728279..1ccb637 100644 --- a/lib/squib/api/data.rb +++ b/lib/squib/api/data.rb @@ -1,7 +1,14 @@ +require 'spreadsheet' + module Squib class Deck + def csv(file: 'deck.csv', header: true) raise 'Not implemented!' end + + def xls(file: 'data.xls', sheet: 0) + + end end end \ No newline at end of file diff --git a/bin/squib-eg b/samples/basic.rb old mode 100755 new mode 100644 similarity index 100% rename from bin/squib-eg rename to samples/basic.rb