method

yaml?

ruby latest stable - Class: Gem::Commands::BuildCommand

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

yaml?(filename)
public

No documentation available.

# File lib/rubygems/commands/build_command.rb, line 54
  def yaml?(filename)
    line = open(filename) { |f| line = f.gets }
    result = line =~ %{!ruby/object:Gem::Specification}
    result
  end