Class: Gollum::Page

Inherits:
Object
  • Object
show all
Defined in:
lib/smeagol/gollum/page.rb

Instance Method Summary collapse

Instance Method Details

#post?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/smeagol/gollum/page.rb', line 4

def post?
  /^(\d\d\d\d-\d\d-\d\d)/.match(filename)
end