Skip to content

Instantly share code, notes, and snippets.

/4.rb

Created September 26, 2014 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/71b0b755fe90133d0b3c to your computer and use it in GitHub Desktop.
Save anonymous/71b0b755fe90133d0b3c to your computer and use it in GitHub Desktop.
module ProMotion
class StaticPageView < PageView
def self.method_missing(method_name, obj_or_klass, opts = {})
# NOTE ... do something here
end
end
end
class StaticPageView < ProMotion::StaticPageView
my_page PM::Screen.new, name: :my_page, index: :left
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment