summaryrefslogtreecommitdiff
path: root/lib/ostruct.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ostruct.rb')
-rw-r--r--lib/ostruct.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/ostruct.rb b/lib/ostruct.rb
index a151fc0bed..e062fbdc9c 100644
--- a/lib/ostruct.rb
+++ b/lib/ostruct.rb
@@ -9,8 +9,6 @@
# See OpenStruct for an example.
#
-require_relative 'ostruct/version'
-
#
# An OpenStruct is a data structure, similar to a Hash, that allows the
# definition of arbitrary attributes with their accompanying values. This is
@@ -75,6 +73,7 @@ require_relative 'ostruct/version'
# of these properties compared to using a Hash or a Struct.
#
class OpenStruct
+ VERSION = "0.2.0"
#
# Creates a new OpenStruct object. By default, the resulting OpenStruct