Skip to content

Instantly share code, notes, and snippets.

@arekt
Created October 30, 2012 03:17
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 arekt/3978120 to your computer and use it in GitHub Desktop.
Save arekt/3978120 to your computer and use it in GitHub Desktop.
class AppSettings::Base
@show_info = true
class << self
attr_accessor :cells
attr_accessor :show_info
end
def self.setup(&block)
yield(self)
end
def self.show_info=(bool)
@show_info = bool
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment