Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added User-Defined Class C

  • Loading branch information...
commit 11620b8b3140ef0c212962ece912cd74b66a380b 1 parent ee2308c
@nvijayap authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 trpl002.rb
View
9 trpl002.rb
@@ -52,4 +52,13 @@
nil.class.should == NilClass
end
+ #----- User-Defined Class C -----------
+
+ class C
+ end
+
+ it "Should be a C Class" do
+ C.new.class.should == C
+ end
+
end
Please sign in to comment.
Something went wrong with that request. Please try again.