diff --git a/try/10_basic_usage_tryouts.rb b/try/10_basic_usage_tryouts.rb new file mode 100644 index 0000000..af5bee3 --- /dev/null +++ b/try/10_basic_usage_tryouts.rb @@ -0,0 +1,19 @@ +library :storable, 'lib' + +tryouts "Basic Usage" do + setup do + class A < Storable + field :one => String + field :two => Integer + field :three => TrueClass + end + end + + dream ["string", 1, true] + drill "Create an object" do + a = A.new( "string", 1, true) + [a.one, a.two, a.three] + end + +end +