Last active
November 6, 2015 09:03
-
-
Save Catsquotl/c6262e4f6af74d3fa436 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require_relative 'character' | |
class Marshal < Character | |
def initialize *arr | |
super arr | |
@key_stat = get_key_stat [@dex,@wis] | |
end | |
def vacancy_penalty | |
@economy = -4 | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
here's the error | |
--------------------------- | |
/home/catsquotl/kinsheet/lib/marshal.rb:3:in `<main>': Marshal is not a class (TypeError) | |
---------------------------- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment