class ShardFile

Overview

Represents the structure of a shard.yml file. This class is used to parse the main project's metadata such as its name and version.

Included Modules

Defined in:

shard/shard_file.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def name : String #

The name of the project/shard.


[View source]
def name=(name : String) #

The name of the project/shard.


[View source]
def version : String #

The version of the project/shard.


[View source]
def version=(version : String) #

The version of the project/shard.


[View source]