Class: Pathname

Inherits:
Object
  • Object
show all
Defined in:
lib/naksh/path_entry.rb

Instance Method Summary collapse

Instance Method Details

#is_nkc?Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/naksh/path_entry.rb', line 27

def is_nkc?
  (file? and /\.nkc\.rb\z/i.match(to_s)) ? true : false
end