Closed Harrisonl closed 8 years ago
Trying to have a play around with the gem but keep running into this error. Currently:
$ require 'reality' $ include Reality $ Entity $ # => Reality::Entity $ Entity('Australia') $ # => Undefined method 'Entity' for main:Object $ Reality::Entity('Australia') $ # => #<Reality::Entity(Australia):country>
Happened to me also with MRI Ruby 2.3, reality 0.0.3
Sorry, it should be include Reality::Methods (which is a bit obscure, faithfully). Fixed this in README for now, will think of it.
include Reality::Methods
Trying to have a play around with the gem but keep running into this error. Currently: