Skip to content

Instantly share code, notes, and snippets.

@Catsquotl
Last active November 6, 2015 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Catsquotl/c6262e4f6af74d3fa436 to your computer and use it in GitHub Desktop.
Save Catsquotl/c6262e4f6af74d3fa436 to your computer and use it in GitHub Desktop.
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
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